/**
 * Copyright (c) [2021-2021] [libbylg@126.com]
 * [lplogger] is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL
 * v2. You may obtain a copy of Mulan PSL v2 at:
 *             http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more
 * details.
 */
#include "lp_logger_default.h"

#include <format>

#define LP_CLOG_SINKS (LP_SINK_LOCALFILE_MASK | LP_SINK_CONSOLE_MASK)
#define LP_RLOG_SINKS (LP_SINK_LOCALFILE_MASK)

// LPEXTERN void                       lp_log_print(uint64_t sink_mask, int8_t module_id, int8_t level, void* msg);

#define LP_CONSOLE_LOG(level, format, ...) \
    if (lp_is_level_printable(0, level)) { \
    }

#define LP_RUNTIME_LOG(level, format, ...)

int main(int argc, char* argv[]) {

    int ret = lp_logger_default_init("./test.log");

    return 0;
}
